package com.xueshishasha.oa.service;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.xueshishasha.oa.model.LogBook;

public interface LogBookService {

	public LogBook getInfo(String id);

	public void updateInfo(LogBook logBook);

	public Serializable save(LogBook logBook);

	public void delete(LogBook logBook);

	public List<LogBook> getAll();

	public LogBook getModelById(Serializable id);

	public List<LogBook> getModels(String hql, Object[] parameters);

	public void saveOrUpdate(LogBook logBook);

	public void saveOrUpdateAll(Collection<LogBook> collection);

	public void update(LogBook logBook);

	public List<LogBook> getByCriteria(DetachedCriteria dc);

}
